Chapter 10 Data types and structures

10.1 Data types and records

Data types

Records

composite data types - a data type constructed using several of the basic data types available in a particular programming language

10.2 Arrays

Array

a data structure containing several elements of the same data type

Pseudocode

Python

Bubble Sort

Pseudocode

Python

10.3 Files

3 modes of open files

10.4 Abstract data types (ADT)

ADT: a collection of data and a set of operations on that data

Stack

a list containing several items operating on the last in, first out (LIFO) principle

Queue

a list containing several items operating on the first in, first out (FIFO) principle.

Linked list

a list containing several items in which each item in the list points to the next item in the list.